A A Domain-Specific Language and Editor for Parallel Particle Methods

نویسندگان

  • TOBIAS NETT
  • SVEN KAROL
  • JERONIMO CASTRILLON
  • IVO F. SBALZARINI
چکیده

Domain-specific languages (DSLs) are of increasing importance in scientific high-performance computing to reduce development costs, raise the level of abstraction and, thus, ease scientific programming. However, designing and implementing DSLs is not an easy task, as it requires knowledge of the application domain and experience in language engineering and compilers. Consequently, many DSLs follow a weak approach using macros or text generators, which lack many of the features that make a DSL a comfortable for programmers. Some of these features—e.g., syntax highlighting, type inference, error reporting, and code completion—are easily provided by language workbenches, which combine language engineering techniques and tools in a common ecosystem. In this paper, we present the Parallel Particle-Mesh Environment (PPME), a DSL and development environment for numerical simulations based on particle methods and hybrid particle-mesh methods. PPME uses the meta programming system (MPS), a projectional language workbench. PPME is the successor of the Parallel Particle-Mesh Language (PPML), a Fortran-based DSL that used conventional implementation strategies. We analyze and compare both languages and demonstrate how the programmer’s experience can be improved using static analyses and projectional editing. Furthermore, we present an explicit domain model for particle abstractions and the first formal type system for particle methods.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Domain-Specific Language and Editor for Parallel Particle Methods

Domain-specific languages (DSLs) are of increasing importance in scientific high-performance computing to reduce development costs, raise the level of abstraction and, thus, ease scientific programming. However, designing DSLs is not easy, as it requires knowledge of the application domain and experience in language engineering and compilers. Consequently, many DSLs follow a weak approach using...

متن کامل

Proceedings of the 3rd Workshop on Domain-Specific Language Design and Implementation (DSLDI 2015)

We present our previous and current work on the parallel particle-mesh language PPML—a DSLfor parallel numerical simulations using particle methods and hybrid particle-mesh methods inscientific computing.

متن کامل

Enhancement of Voltage/Frequency Stability in an Autonomous Micro Energy Grid with Penetration of Wind Energy Using a Parallel Fuzzy Mechanism

The main objective of this paper is to model and optimize the parallel and relatively complex FuzzyP+FuzzyI+FuzzyD (FP+FI+FD) controller for simultaneous control of the voltage and frequency of a micro-grid in the islanded mode. The FP+FI+FD controller has three parallel branches, each of which has a specific task. Finally, as its name suggests, the final output of the controller is derived fro...

متن کامل

Control Structures for Parallel Computing in NUT

Specification language of NUT has been recently extended with functions for distributed computing. This extension can be used for developing a collection of control structures for parallel compositional programming. The purpose of this thesis is to support distributed and coarse grained parallel computing in the NUT system, on the basis of the rNUT distributed programming toolkit. This work con...

متن کامل

Is the Universal English Education from the Primary Level in Bangladesh Necessary? A Domain Wise Study

Bangladesh is a monolingual country where Bangla is the official language for education, administration, media, literature, and cultural activities. The constitution of Bangladesh in 1972 recognized the undisputed status of Bangla as the state language of Bangladesh. Various measures have been taken by successive governments to ensure the widespread use of Bangla in all spheres of national life...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017